package com.lh.api.vo;

import com.lh.common.enums.AfterStatusEnum;
import com.lh.common.enums.AfterTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @description: 售后订单列表对象
 * @author: gze
 * @create: 2020-05-22 10:39
 **/
@Data
@ApiModel("售后订单列表对象")
public class AfterSaleListVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据id")
    private Long id;

    @ApiModelProperty(value = "退货单号")
    private String afterSaleId;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    private String property;

    @ApiModelProperty(value = "商品规格")
    private List<PropertyVo> propertyList;

    @ApiModelProperty(value = "购买商品数量")
    private Integer shopNum;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundPrice;

    @ApiModelProperty(value = "服务类型 REFUND:退款;RETURN:退货")
    private AfterTypeEnum type;

    @ApiModelProperty(value = "售后订单状态：PROCESSING->退款处理中；REFUNDSUCCESS:退款成功；RETURNING:退货处理中；TOWAREHOUSE:退货入库中: REFUNDING:退货退款中,RETURNSUCCESS:退货退款成功,REFUSERETURN:拒绝退货退款失败,REFUSEWAREHOUSE:拒绝入库退款失败,REFUSEREFUND:拒绝退款退款失败，RETURNTIMEOUT：退货超时")
    private AfterStatusEnum status;

}
